{if $arrComment}
	<ul>
        {foreach item=item key=i from=$arrComment}
        	<li {if $i==0}class="firstChild" {/if}{if $AppUI->id > 0 && ( $AppUI->id == $item.userid || $AppUI->id == $row.userid )}onmouseover="javascript:onMouseOverForCmt({$item.ocommentid});" onmouseout="javascript:onMouseOutForCmt({$item.ocommentid});" {/if}> 
            	{if $AppUI->id > 0 && ( $AppUI->id == $item.userid || $AppUI->id == $row.userid )}
                    <div id="rowCmt{$item.ocommentid}" class="rowCmt">
                        <a href="javascript:deleteCmt({$intOfflineId},{$item.ocommentid},{$intPage});">Xóa</a>
                    </div>
                {/if}       
                {image userid=$item.userid type=1 small=2 class="border50 lFloat"}    	
                <div class="cnt">
                    <h4>
                        <a href="{vfriend_username userid=$item.userid viewid=$AppUI->id}">{$item.userid|ouser}</a>
                        {if $smarty.const.FUNCTION_OFFLINE_EXPIRE}<span class="gray">&nbsp;-&nbsp;{offline_rating userid=$item.userid}</span>{/if}
                        <span class="rFloat lMargin5">
                            <span class="bLike"><a href="javascript:likeCmt({$intOfflineId},{$item.ocommentid});">Thích</a>&nbsp;(<span id="lcmt{$item.ocommentid}">{$item.tlike|number_format:"0":",":"."}</span>)</span>
                            <span class="gray lMargin5">{$item.postdate|date_format:"%H:%M - %d/%m/%Y"}</span>
                        </span>
                    </h4>
                    <p>{$item.content|str_emoticon}</p>
               	</div>                
            </li>
        {/foreach}
        {if $intTotal > $intLimit}
            <li>{paging total=$intTotal limit=$intLimit offset=$intOffset url=$strUrl div="sComment"}</li>
        {/if} 
    </ul>  
{/if}